﻿using MimeKit;


namespace TrackSystem.EmailService
{
    public class Message
    {
        public MailboxAddress To { get; set; }

        public string Subject { get; set; }

        public string Content { get; set; }

        public Message(
            string name, string address, string subject, string content)
        {
            To = new MailboxAddress(name, address);
            Subject = subject;
            Content = content;
        }
    }
}
